<?php
/**
* @version		$Id$
* @package		ALM Hotel Menager	
* @subpackage	com_almhm
* @author		ALM Studio
* @copyright	Copyright 2011 ALM Studio. All rights reserved
* @licence		Commercial
*/
defined('_JEXEC') or die('Restricted access');
$document	= & JFactory::getDocument();

	function almhmCpanelIkone( $link, $image, $text, $javascript='', $class='' ) 
	{
		$image = JURI::base(true).'/components/com_almhm/assets/images/' . $image;
	?>
		<div style="float:left;">
			<div class="icon">
				<a <?php echo $class; ?> href="<?php echo $link; ?>" <?php echo $javascript; ?> >
					<img src="<?php echo $image; ?>" alt="<?php echo $text; ?>" align="top" border="0" />
					<span><?php echo $text; ?></span>
				</a>
			</div>
		</div>
	<?php 
	}
	?>
